package com.night.xjh.service;

import com.github.pagehelper.PageInfo;
import com.night.common.entity.xjh.Callback;
import com.night.common.entity.xjh.CallbackType;
import org.springframework.stereotype.Service;

/**
 * @ClassName: VisitService
 * @Description: //TODO
 * @author: xjh
 * @date: 2022/10/21-11:01
 * @version: v1.0
 */
public interface CallbackService {
    void add(Callback callback);
    void delete(int id);
    void update(Callback callback);
    PageInfo<Callback> getAll(int pageNum, int pageSize);
    Callback getById(int id);
    PageInfo<Callback> getByCondition(Callback callback, int pageNum, int pageSize);
}
